﻿using System;
using Coleotrack.Data.Maps;
using FluentNHibernate.Cfg;

namespace Coleotrack.Service.Registration
{
    public class SqlServerMappingConfiguration : IMappingConfiguration
    {
        public void GetMapping(MappingConfiguration mappingConfiguration)
        {
            mappingConfiguration
                .FluentMappings
                .AddFromAssemblyOf<UserMap>()
                .Conventions.AddFromAssemblyOf<UserMap>();
        }
    }
}